using System;
using System.Collections;
using System.ComponentModel;
using System.Runtime.Serialization;

namespace Entities
{
    [Serializable]
    [System.Data.Services.Common.DataServiceKey("ID")]
    public class AboutUS:EntityBase
    {
        #region AboutUS Properties
        private System.String _Description;
		[DataMember] public virtual System.String Description
		{
			get
			{
				return _Description;
			}
			set
			{
                if (_Description != value)
                {
                    _Description = value;
                    OnPropertyChanged("Description");
                }
			}
		}
        private System.DateTime? _CeateDate;
		[DataMember] public virtual System.DateTime? CeateDate
		{
			get
			{
				return _CeateDate;
			}
			set
			{
                if (_CeateDate != value)
                {
                    _CeateDate = value;
                    OnPropertyChanged("CeateDate");
                }
			}
		}
        private System.String _CreateUserCode;
		[DataMember] public virtual System.String CreateUserCode
		{
			get
			{
				return _CreateUserCode;
			}
			set
			{
                if (_CreateUserCode != value)
                {
                    _CreateUserCode = value;
                    OnPropertyChanged("CreateUserCode");
                }
			}
		}
        #endregion
        public override bool Equals(object obj)
        {
            if (obj == this) return true;
            if (obj == null) return false;
            if (obj is AboutUS)
            {
                return (this.ID == (obj as AboutUS).ID);
            }
            return false;
        }
        public override int GetHashCode()
        {
            return ID.GetHashCode();
        }
    }
}